package com.car.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.car.order.entity.GoodOrderItem;
import com.car.order.entity.form.goodOrderItem.GoodOrderItemFindListForm;
import com.car.order.entity.form.goodOrderItem.GoodOrderItemFindPageForm;
import com.car.order.entity.form.goodOrderItem.GoodOrderItemInsertForm;
import com.car.order.entity.form.goodOrderItem.GoodOrderItemUpdateForm;

import java.util.List;
/**
 * @author 杜岷芫
 * @since 2024-08-28 19:11:04
 */
public interface GoodOrderItemService extends IService<GoodOrderItem> {

    Page<GoodOrderItem> findPage(GoodOrderItemFindPageForm form);

    List<GoodOrderItem> findList(GoodOrderItemFindListForm form);

    GoodOrderItem findById(Integer id);

    GoodOrderItem insert(GoodOrderItemInsertForm form);

    GoodOrderItem update(GoodOrderItemUpdateForm form);

    void delete(Integer id);

}